import Vue from 'vue';
import Router from 'vue-router'
import Login from './components/Login.vue';
import Home from './components/Home.vue';

Vue.use(Router)



export default new Router({
    routes:[
        {
            path:'/login',
            name:'login',
            component: Login,
           
        },
        {
            path: '/home',
            name: 'home',
            component:Home
        }
       
    ]
})